﻿using System.Collections.Generic;
using System.IO;
using System.Xml.Serialization;

namespace JTG.ServiceInterface.Model
{
    public class ZzzyyReportInfo
    {
        /// <summary>
        /// 医嘱ID
        /// </summary>
        public string YZID { get; set; }

        /// <summary>
        /// 病人ID
        /// </summary>
        public string BRID { get; set; }

        /// <summary>
        /// 检验项目
        /// </summary>
        public string JYXM { get; set; }

        /// <summary>
        /// 标本序号
        /// </summary>
        public string BBXH { get; set; }

        /// <summary>
        /// 标本类型
        /// </summary>
        public string BBLX { get; set; }

        /// <summary>
        /// 审核时间
        /// </summary>
        public string SHSJ { get; set; }

        /// <summary>
        /// 审核人
        /// </summary>
        public string SHR { get; set; }

        /// <summary>
        /// 样本条码
        /// </summary>
        public string YBTM { get; set; }

        /// <summary>
        /// 病人来源（门诊、住院）
        /// </summary>
        public string BRLY { get; set; }

        /// <summary>
        /// 病人来源（门诊、住院）
        /// </summary>
        public string DYCS { get; set; }

        /// <summary>
        /// 申请时间
        /// </summary>
        public string SQSJ { get; set; }

        /// <summary>
        /// 状态（检验中，可打印，已打印）
        /// </summary>
        public string ZT { get; set; }

        /// <summary>
        /// 扩展字段：打印状态：0默认；1可用打印；2不可打印
        /// </summary>
        public int ExtPrintStatus { get; set; } = 0;
    }

    /// <summary>
    /// 报告内容
    /// </summary>
    [XmlRoot("LIST")]
    public class ZzzyyPdfs
    {
        [XmlElement("PDF")]
        public List<string> Pdfs { get; set; }
    }

    /// <summary>
    /// 查询报告
    /// </summary>
    [XmlRoot("Root")]
    public class ReportInfoRoot
    {
        [XmlElement("LIST")]
        public List<ZzzyyReportInfo> LIST { get; set; }
    }


}
